package fr.cnam.projetSiw.client.core.displayArea;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.SimplePanel;
import com.google.gwt.user.client.ui.Widget;

public class DisplayArea extends Composite
{
		
	private static DisplayAreaUiBinder uiBinder = GWT.create(DisplayAreaUiBinder.class);

	@UiField
	FlowPanel   content;
	
	@UiField
	SimplePanel   menuArea;
	
	@UiField
	SimplePanel   middleContent;
	
	@UiField
	SimplePanel   botLeftContent;

	@UiField
	SimplePanel suggestContent;
	
	@UiField
	HorizontalPanel pnlBot;
	


	@UiField
	SimplePanel   botMidContent;
	
	@UiField
	SimplePanel   botRightContent;
	
	@UiField
	SimplePanel   topContent;
	
	

	public SimplePanel getTopContent()
	{
		return topContent;
	}


	
	interface DisplayAreaUiBinder extends UiBinder<Widget, DisplayArea>
	{
	}

	public DisplayArea()
	{
		initWidget(uiBinder.createAndBindUi(this));
		pnlBot.setSpacing(10);
	}

	public FlowPanel getContent()
	{
		return content;
	}


	public SimplePanel getMenuArea()
	{
		return menuArea;
	}


	public SimplePanel getMiddleContentArea()
	{
		return middleContent;
	}
	
	public SimplePanel getTopContentArea()
	{
		return topContent;
	}

	
	public SimplePanel getBotLeftContent()
	{
		return botLeftContent;
	}

	public SimplePanel getBotMidContent()
	{
		return botMidContent;
	}

	public SimplePanel getBotRightContent()
	{
		return botRightContent;
	}

	public SimplePanel getSuggestContent()
	{
		return suggestContent;
	}




}
